package com.xuecheng.manage_cms.dao;

import com.xuecheng.framework.domain.cms.CmsPage;
import org.springframework.data.mongodb.repository.MongoRepository;
/**
* @Description: 数据库的增删改查
* @Param:
* @return:
* @Author: Mr.Yuan
* @Date:
*/
public interface CmsPageRepository extends MongoRepository<CmsPage,String> {
    CmsPage findByPageName(String pageName);

    CmsPage findByPageNameAndAndPageWebPathAndSiteId(String pageName,String pageWebPath,String siteId);

    CmsPage findByPageId (String pageId);
}
